package bridge;

import bridge.channel.impl.WechatPay;
import bridge.mode.Impl.PayFaceMode;
import bridge.mode.Impl.PayFingerprintMode;

import java.math.BigDecimal;

/**
 * @author : DuJiabao
 * @Date : 2021/3/3 11:04
 * @Project : design-pattern
 * @File : null.java
 * @Desc :
 */
public class Client {
  public static void main(String[] args) {
    WechatPay wechatPay = new WechatPay(new PayFingerprintMode());
    wechatPay.transfer("1", "2", new BigDecimal("100"));
  }
}
